package com.sq.partner.manager.service;

import java.util.List;

import com.sq.partner.manager.mybatis.model.GatewayUser;
import com.sq.partner.manager.mybatis.model.TradNotice;
import com.sq.partner.manager.mybatis.model.TradNoticePartner;
import com.sq.partner.manager.util.Page;

/**
 * @author zzguo
 * */

public interface ITradNoticeService {

	public Page<TradNotice> queryInfoByCriteria(Page<TradNotice> page,GatewayUser user) throws Exception;
	
	public TradNotice queryInfoByTradNoticeId(String Id) throws Exception;
	
	public List<TradNoticePartner> queryTreeDtoByPriBranchCode(String deptCodeStr) throws Exception;
	
	public List<TradNoticePartner> queryRelationInfoByNoticeId(String noticeId) throws Exception;
	
	public boolean delTradNoticeById(String Id) throws Exception;

	public boolean delTradNoticePartnerById(String Id) throws Exception; 

	public String addTradNoticeInfo(TradNotice tradNotice) throws Exception;
	
	public boolean addTradNoticePartnerInfo(List<TradNoticePartner> ls) throws Exception;
	
}
